package com.cyt.reward.service;

import com.cyt.base.model.dto.ReturnResult;
import com.cyt.reward.model.po.RewardShop;
import com.cyt.reward.model.vo.RewardShopVo;
import com.cyt.sys.model.po.SysUser;
import com.cyt.sys.service.BaseService;

import java.util.List;

/**
 * 打赏功能-商铺管理Service层接口类
 *
 * @author rong yuan
 * @date 2019-7-24 14:13:13
 */
public interface RewardShopService extends BaseService<RewardShop> {

    /**
     * 分页查询
     *
     * @param rewardShopVo 接受参数对象
     * @param pageNum      分页数
     * @param pageSize     每页显示条数
     * @return ReturnResult
     * @author rong yuan
     * @date 2019-7-24 14:13:13
     */
    ReturnResult page(RewardShopVo rewardShopVo, int pageNum, int pageSize);

    /**
     * 添加或更新
     *
     * @param rewardShopVo 参数接受对象
     * @param sysUser      当前用户
     * @return ReturnResult
     * @author rong yuan
     * @date 2019-7-24 14:13:13
     */
    ReturnResult addOrUpdate(RewardShopVo rewardShopVo, SysUser sysUser);

    /**
     * 根据条件逻辑删除
     *
     * @param rewardShopVo 参数接受对象
     * @param sysUser      当前用户
     * @return ReturnResult
     * @author rong yuan
     * @date 2019-7-24 14:13:13
     */
    ReturnResult remove(RewardShopVo rewardShopVo, SysUser sysUser);

    /**
     * list查询
     *
     * @param rewardShopVo 参数接受对象
     * @return List<RewardShop>
     * @author rong yuan
     * @date 2019/7/24 15:00
     */
    List<RewardShop> list(RewardShopVo rewardShopVo);
}